home *** CD-ROM | disk | FTP | other *** search
/ Freelog 115 / FreelogNo115-MaiJuin2013.iso / Internet / Filezilla Server / FileZilla_Server-0_9_41.exe / source / interface / GroupsDlgGeneral.h < prev    next >
C/C++ Source or Header  |  2011-11-06  |  3KB  |  88 lines

  1. // FileZilla Server - a Windows ftp server
  2.  
  3. // Copyright (C) 2002-2004 - Tim Kosse <tim.kosse@gmx.de>
  4.  
  5. // This program is free software; you can redistribute it and/or
  6. // modify it under the terms of the GNU General Public License
  7. // as published by the Free Software Foundation; either version 2
  8. // of the License, or (at your option) any later version.
  9.  
  10. // This program is distributed in the hope that it will be useful,
  11. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. // GNU General Public License for more details.
  14.  
  15. // You should have received a copy of the GNU General Public License
  16. // along with this program; if not, write to the Free Software
  17. // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  18.  
  19. #if !defined(AFX_GROUPSDLGGENERAL_H__3548112C_F36E_42D1_B073_78272B897DDA__INCLUDED_)
  20. #define AFX_GROUPSDLGGENERAL_H__3548112C_F36E_42D1_B073_78272B897DDA__INCLUDED_
  21.  
  22. #if _MSC_VER > 1000
  23. #pragma once
  24. #endif // _MSC_VER > 1000
  25.  
  26. #include "..\Accounts.h"
  27. #include "afxwin.h"
  28.  
  29. /////////////////////////////////////////////////////////////////////////////
  30. // Dialogfeld CGroupsDlgGeneral 
  31. class CGroupsDlg;
  32. class CGroupsDlgGeneral : public CSAPrefsSubDlg
  33. {
  34. // Konstruktion
  35. public:
  36.     CGroupsDlgGeneral(CGroupsDlg *pOwner);   // Standardkonstruktor
  37.     ~CGroupsDlgGeneral();
  38.  
  39.     BOOL DisplayGroup(const t_group *pGroup);
  40.     BOOL SaveGroup(t_group *pGroup);
  41.     void SetCtrlState();
  42.     CString Validate();
  43.     
  44. protected:
  45. // Dialogfelddaten
  46.     //{{AFX_DATA(CGroupsDlgGeneral)
  47.     enum { IDD = IDD_GROUPS_GENERAL };
  48.     CEdit    m_cMaxConnCount;
  49.     CEdit    m_cIpLimit;
  50.     CButton    m_cMaxUsersBypass;
  51.     int        m_nMaxUsersBypass;
  52.     CString    m_MaxConnCount;
  53.     CString    m_IpLimit;
  54.     CButton    m_cEnabled;
  55.     int        m_nEnabled;
  56.     CButton m_cForceSsl;
  57.     int        m_nForceSsl;
  58.     //}}AFX_DATA
  59.  
  60.  
  61. // ▄berschreibungen
  62.     // Vom Klassen-Assistenten generierte virtuelle Funktionsⁿberschreibungen
  63.     //{{AFX_VIRTUAL(CGroupsDlgGeneral)
  64.     protected:
  65.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV-Unterstⁿtzung
  66.     //}}AFX_VIRTUAL
  67.  
  68. // Implementierung
  69. protected:
  70.     CGroupsDlg *m_pOwner;
  71.     CImageList m_imagelist;
  72.     
  73.     // Generierte Nachrichtenzuordnungsfunktionen
  74.     //{{AFX_MSG(CGroupsDlgGeneral)
  75.     virtual BOOL OnInitDialog();
  76.     afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  77.     //}}AFX_MSG
  78.     DECLARE_MESSAGE_MAP()
  79. public:
  80.     CEdit m_cComments;
  81.     CString m_Comments;
  82. };
  83.  
  84. //{{AFX_INSERT_LOCATION}}
  85. // Microsoft Visual C++ fⁿgt unmittelbar vor der vorhergehenden Zeile zusΣtzliche Deklarationen ein.
  86.  
  87. #endif // AFX_GROUPSDLGGENERAL_H__3548112C_F36E_42D1_B073_78272B897DDA__INCLUDED_
  88.